package com.yituo.mjworld.mvc.form.support.buyCar;

import com.yituo.mjworld.core.annotation.Rules;
import com.yituo.mjworld.core.web.core.BaseForm;

public class UpdateRecord extends BaseForm {

  @Rules(fieldName = "商品ID", min = "0")
  public int recordId;

  public int getNum() {
    return num;
  }

  public void setNum(int num) {
    this.num = num;
  }

  @Rules(fieldName = "数量", min = "0")
  public int num;

  public int getRecordId() {
    return recordId;
  }

  public void setRecordId(int recordId) {
    this.recordId = recordId;
  }

  @Override
  public boolean validate() {
    return defaultValidate();
  }
}
